@import '../bootstrap'

v-carousel-rtl()
  &__prev
    left: auto
    right: 5px

  &__next
    left: 5px
    right: auto

rtl(v-carousel-rtl, "v-carousel")

.v-carousel
  height: 500px
  width: 100%
  position: relative
  overflow: hidden
  elevation(2)

  &__item
    position: absolute
    top: 0
    width: 100%
    transition: .3s $transition.swing

  &__prev,
  &__next
    position: absolute
    top: 50%
    z-index: 1
    transform: translateY(-50%)

    .v-btn
      margin: 0
      height: auto
      width: auto

      i
        font-size: 48px

      &:hover
        background: none

  &__prev
    left: 5px

  &__next
    right: 5px

  &__controls
    background: rgba(0, 0, 0, .5)
    align-items: center
    bottom: 0
    display: flex
    justify-content: center
    left: 0
    position: absolute
    height: 50px
    list-style-type: none
    width: 100%
    z-index: 1

    &__item
      margin: 0 8px !important

      .v-icon
        opacity: .5
        transition: $primary-transition

      &--active
        .v-icon
          opacity: 1
          vertical-align: middle

      &:hover
        background: none

        .v-icon
          opacity: .8
